//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_attackwp.sqf"
#include "x_setup.sqf"

private ["_ggrp","_gtarget_pos","_gwp"];
PARAMS_2(_ggrp,_gtarget_pos);
_ggrp setbehaviour "AWARE";
_gwp = _ggrp addWaypoint [_gtarget_pos,30];
_gwp setwaypointtype "SAD";
_gwp setWaypointCombatMode "YELLOW";
_gwp setWaypointSpeed "FULL";